/**
 * This code is released under lgpl v3 license.
 * All rights reserved.
*/

package flash.events;


import bridge.AS3Proxy;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * as3 Event overlay type
 * @author yuan yunchang    dukerr@gmail.com
 */
public class Event extends AS3Proxy{
    public static final String ACTIVATE = "activate";
    public static final String ADDED = "added";
    public static final String ADDED_TO_STAGE = "addedToStage";
    public static final String CANCEL = "cancel";
    public static final String CHANGE = "change";
    public static final String CLOSE = "close";
    public static final String COMPLETE = "complete";
    public static final String CONNECT = "connect";
    public static final String OPEN = "open";
    //public static final String ProgressEvent = "progress";
    public static final String SELECT = "select";
    public static final String ENTER_FRAME = "enterFrame";

    protected Event() {
    }
    public final native String getType()/*-{
    return this.getType()
    }-*/;
    public  final native EventDispatcher getTarget()/*-{
    return this.getTarget()
    }-*/;
    public final native EventDispatcher getCurrentTarge()/*-{
    return this.getCurrentTarget()
    }-*/;
    public final native int  getEventPhase()/*-{
    return this.getEventPhase()
    }-*/;
    public final native boolean getBubbles()/*-{
    return this.getBubbles()
    }-*/;
    public final native boolean getCancelable()/*-{
    return this.getCancelable()
    }-*/;

}
